Filter out the special PXE boot parameters#2293
Conversation
- Do not pass them to the installed system - Remove also most of the network settings - gh##2280
| @@ -1 +1 @@ | |||
| BOOT_IMAGE=/boot/vmlinuz splash=silent mitigations=auto quiet nosimplefb=1 No newline at end of file | |||
| splash=silent mitigations=auto quiet nosimplefb=1 No newline at end of file | |||
There was a problem hiding this comment.
well, to be sure I would enhance test with various parameters we are using like some rd.kiwi params and some oh others which are more tricky to be sure that regexp matching
|
BTW using spaces in parameters does not work properly. e.g. We use a simple shell word splitting functionality, for proper parsing we would need to write our full parser and process the input character by character. That's not trivial and then we would probably need to fix all code which uses the processed Using spaces or newlines in file names usually causes troubles. I'd keep it as it is and fix it only when we get a real use case for this scenario. |
Prepare to release Agama 15: * #2258 * #2270 * #2277 * #2279 * #2283 * #2284 * #2285 * #2286 * #2287 * #2288 * #2291 * #2292 * #2293 * #2295 * #2297 * #2299 * #2300 * #2301 * #2302 * #2303 * #2305 * #2306 * #2307 * #2308 * #2309 * #2313 * #2314 * #2315 * #2317 * #2318 * #2319 * #2320 * #2321 * #2322 * #2323 * #2324 * #2325 * #2328 * #2329 * #2330 * #2331 * #2335 * #2336 * #2337 * #2338 * #2339 * #2340 * #2342 * #2345 * #2346 * #2348 * #2349 * #2350 * #2351 * #2352 * #2353 * #2354 * #2355 * #2357 * #2358 * #2359 * #2360 * #2361 * #2362 * #2363 * #2364 * #2365 * #2366 * #2368 * #2369 * #2370 * #2371 * #2372 * #2374 * #2377 * #2378 * #2379 * #2380 * #2381 * #2382 * #2384 * #2385 * #2386 * #2388 * #2389 * #2390 * #2391 * #2392 * #2394 * #2397 * #2398 * #2401 * #2403
Problem
Solution
Testing
Screenshots
After booting the installer via PXE the extra parameters can be seen in the

/proc/cmdlinefile. But the/run/agama/cmdline.d/kernel.confdoes not include them and the journal log shows they were ignored:After booting the installed system no PXE boot option is present on the

linuxline: